
//  ViewController4.h
//  测试
//
//  Created by 李李善 on 16/7/30.
//  Copyright © 2016年 李李善. All rights reserved.
//


#import <UIKit/UIKit.h>
#import "MCCellInfo.h"
#import "UIViewController+Action.h"
//#import <MJRefresh/MJRefresh.h>


@interface UIViewController (selector)
/** < 导航的H+Y > */
@property(nonatomic,assign,readonly)CGFloat navBarHeight;
/** < uiViewController本身的View的属性 > */
@property(nonatomic,copy)void(^layoutBlock)(UIView *view,CGPoint origin,CGSize size,CGPoint center);
/** < 更新数据 > */
@property(nonatomic,copy)void(^loadBlock)(void);
/** < 加载动画 > */
-(void)onLoadAnimatedByDidAppear:(id)model;

/** < 更新数据/加载视图 > */
-(void)onLoadViewByWillAppear:(UIView *)view;

/** < 网络请求 > */
-(void)onLoadDataForPageNum:(NSInteger)pageNum;
+(instancetype)onloadVC;
@end


@interface BaseViewController : UIViewController

@end



@interface BaseTableViewController : UITableViewController

@end





@interface BaseCollectionViewController : UICollectionViewController
@end


@interface UIViewController (rootVC)
/** < 根工作器 > */
+(UIViewController *)rootViewController;
/** < 主Window > */
+(UIWindow *)appWindow;

/** < appDelegate > */
+(id)appDelegate;

@end
